package net.huashitong.ssydt.money.entity;

import java.util.Date;

/**
 * vip套餐表
 *
 * @author huiyang.yu
 */
public class SsMoneyVipBag extends BasePriceEntity {

    private static final long serialVersionUID = 9120682872230741671L;

    private String bagName;//名称

    private String description;//描述

    private String bagType;//套餐类型	01 有效天数 02 截止时间

    private Date gmtExpiryDate;//截止时间

    private Integer bagDay; //有效天数

    private Integer sequence;//顺序 默认 99

    private String state;//状态 01 显示 02 隐藏

    private Integer numberLimit;//购买次数限制	 当值为0时不限制

    private String appleGoodsId;//苹果商品id

    private String appType; //app类型

    public String getBagName() {
        return bagName;
    }

    public void setBagName(String bagName) {
        this.bagName = bagName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getBagType() {
        return bagType;
    }

    public void setBagType(String bagType) {
        this.bagType = bagType;
    }

    public Date getGmtExpiryDate() {
        return gmtExpiryDate;
    }

    public void setGmtExpiryDate(Date gmtExpiryDate) {
        this.gmtExpiryDate = gmtExpiryDate;
    }

    public Integer getBagDay() {
        return bagDay;
    }

    public void setBagDay(Integer bagDay) {
        this.bagDay = bagDay;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getNumberLimit() {
        return numberLimit;
    }

    public void setNumberLimit(Integer numberLimit) {
        this.numberLimit = numberLimit;
    }

    public String getAppleGoodsId() {
        return appleGoodsId;
    }

    public void setAppleGoodsId(String appleGoodsId) {
        this.appleGoodsId = appleGoodsId;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SsMoneyVipBag{");
        sb.append("bagName='").append(bagName).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", bagType='").append(bagType).append('\'');
        sb.append(", gmtExpiryDate='").append(gmtExpiryDate).append('\'');
        sb.append(", bagDay=").append(bagDay);
        sb.append(", sequence=").append(sequence);
        sb.append(", state='").append(state).append('\'');
        sb.append(", numberLimit=").append(numberLimit);
        sb.append(", appType=").append(appType);
        sb.append('}');
        return sb.toString();
    }

    /**
     * 状态
     */
    public static final class State {
        /**
         * 显示
         */
        public static final String SHOW = "01";
        /**
         * 隐藏
         */
        public static final String HIDDEN = "02";

    }

    /**
     * app类型
     */
    public static final class AppType {
        /**
         * Android
         */
        public static final String Android = "01";
        /**
         * 苹果生产
         */
        public static final String APPLE_PRODUCTION = "02";
        /**
         * 苹果审核
         */
        public static final String APPLE_CHECK = "03";
    }
}
